
package cn.hz.horse.example;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
 

import cn.hz.horse.EzHandle;

public class MyHandle extends EzHandle  {
 
	
	public boolean handle(Object obj){
	   
		//System.out.println("XXXXXX  "+obj);
		HashMap<String,Object> map=(HashMap<String,Object>)obj;
		try{
			Thread.sleep(1l);
		}catch(Exception e){
			
		}
		
		succQu.add(obj);
		return true;
	}
	
	public boolean handleList(List<Object> list){
		System.out.print("XXXXXX");
		succQu.addAll(list);
		return true;
	}
}
